package com.zrq.example.common.entity;

import java.io.Serializable;
import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * @author: zrq1351
 * @date: 2025/2/14
 */
public class User implements Serializable {

	private String name;

	private Double age;

	private List<String> list;

	private Date date;

	private Map<String, String> map;

	public User() {
	}

	public User(String name, Double age, List<String> list, Date date, Map<String, String> map) {
		this.name = name;
		this.age = age;
		this.list = list;
		this.date = date;
		this.map = map;
	}

	/**
	 * 获取
	 *
	 * @return name
	 */
	public String getName() {
		return name;
	}

	/**
	 * 设置
	 *
	 * @param name
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * 获取
	 *
	 * @return age
	 */
	public Double getAge() {
		return age;
	}

	/**
	 * 设置
	 *
	 * @param age
	 */
	public void setAge(Double age) {
		this.age = age;
	}

	/**
	 * 获取
	 *
	 * @return list
	 */
	public List<String> getList() {
		return list;
	}

	/**
	 * 设置
	 *
	 * @param list
	 */
	public void setList(List<String> list) {
		this.list = list;
	}

	/**
	 * 获取
	 *
	 * @return date
	 */
	public Date getDate() {
		return date;
	}

	/**
	 * 设置
	 *
	 * @param date
	 */
	public void setDate(Date date) {
		this.date = date;
	}

	/**
	 * 获取
	 *
	 * @return map
	 */
	public Map<String, String> getMap() {
		return map;
	}

	/**
	 * 设置
	 *
	 * @param map
	 */
	public void setMap(Map<String, String> map) {
		this.map = map;
	}

	@Override
	public String toString() {
		return "User{name = " + name + ", age = " + age + ", list = " + list + ", date = " + date + ", map = " + map + "}";
	}
}